<script setup>
import {onMounted, ref} from "vue";
import {useRoute, useRouter} from "vue-router";
import Message from '../component/Message.vue'

const route = useRoute()
console.info(route)
const recId = ref('')
onMounted(()=>{
  recId.value = route.query.id
})
</script>

<template>
<div>
  我是hello
  <br>
  我接收到的参数是：{{recId}}
  <Message pageValue="hello"/>
  <img src="" alt="">
</div>
</template>

<style scoped>

</style>
<!--我





也来电代码，免得说划水-->
<!--再来点带啊吗-->